/*
 ============================================================================
 文件名 	: EasyBounceDocument.cpp
 描述		: EasyBounceDocument类的实现.
 ============================================================================
 */

//引用
#include "EasyBounceAppUi.h"
#include "EasyBounceDocument.h"

// ============================ 成员函数 ===============================

// -----------------------------------------------------------------------------
// CEasyBounceDocument::NewL()
// 两阶段构造函数.
// -----------------------------------------------------------------------------
//
CEasyBounceDocument* CEasyBounceDocument::NewL(CEikApplication& aApp)
	{
	CEasyBounceDocument* self = NewLC(aApp);
	CleanupStack::Pop(self);
	return self;
	}

// -----------------------------------------------------------------------------
// CEasyBounceDocument::NewLC()
// 两阶段构造函数.
// -----------------------------------------------------------------------------
//
CEasyBounceDocument* CEasyBounceDocument::NewLC(CEikApplication& aApp)
	{
	CEasyBounceDocument* self = new (ELeave) CEasyBounceDocument(aApp);

	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
	}

// -----------------------------------------------------------------------------
// CEasyBounceDocument::ConstructL()
// 两阶段构造函数.
// -----------------------------------------------------------------------------
//
void CEasyBounceDocument::ConstructL()
	{
	//空实现
	}

// -----------------------------------------------------------------------------
// CEasyBounceDocument::CEasyBounceDocument()
// C++默认构造函数.
// -----------------------------------------------------------------------------
//
CEasyBounceDocument::CEasyBounceDocument(CEikApplication& aApp) :
	CAknDocument(aApp)
	{
	//空实现
	}

// ---------------------------------------------------------------------------
// CEasyBounceDocument::~CEasyBounceDocument()
// 析构函数.
// ---------------------------------------------------------------------------
//
CEasyBounceDocument::~CEasyBounceDocument()
	{
	//空实现
	}

// ---------------------------------------------------------------------------
// CEasyBounceDocument::CreateAppUiL()
// 此函数在程序启动时由框架调用，用来创建appUi类.
// ---------------------------------------------------------------------------
//
CEikAppUi* CEasyBounceDocument::CreateAppUiL()
	{
	//appUi类由框架负责其销毁
	return new (ELeave) CEasyBounceAppUi;
	}

// End of File
